package proxyDemo;

public class Proxy2 implements MoveAble{
	private MoveAble ma;
	public Proxy2(MoveAble ma){
		this.ma=ma;
	}
	@Override
	public void roll() {
		System.out.println("代理2前");
		ma.roll();
		System.out.println("代理2后");
	}

}
